import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/es/components/message/style/css'
import { ElMessage } from 'element-plus'
import 'element-plus/dist/index.css'
const app=createApp(App)
app.use(store).use(router).use(ElementPlus).mount('#app')
//导入所有图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//全局注册图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
